-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed the baseCode and I tested with the documentation and works perfectly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My question could be completely off-base so feel free to ignore.
|
||
The `customer` query returns information about the logged-in customer. | ||
|
||
The `isEmailAvailable` query checks whether the specified email has already been used to create a customer account. A value of `true` indicates the customer can use the email address to create an account. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: Does a value of true indicate that the email has NOT already been used and can therefore be used to create an account?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know it's implied, but do you feel we should explicitly mention that the email has not already been used?
|
||
Attribute | Data Type | Description | ||
--- | --- | --- | ||
`is_email_available` | Boolean | A value of `true` indicates the email address can be used to create an account |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depending on my above question, this might need some rewriting. A value of true
indicates the email address is available to use to create an account....or something like that.
|
||
The `customer` query returns information about the logged-in customer. | ||
|
||
The `isEmailAvailable` query checks whether the specified email has already been used to create a customer account. A value of `true` indicates the customer can use the email address to create an account. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know it's implied, but do you feel we should explicitly mention that the email has not already been used?
Hi @keharper, thank you for your contribution! |
Purpose of this pull request
This pull request (PR) adds the
isEmailAvailable
query.Affected DevDocs pages
Links to Magento source code
whatsnew
Added the
isEmailAvailable
query to the GraphQL customer endpoint.